package com.bocloud.cmp.driver.providers;

import com.bocloud.cmp.model.NetworkModel;
import com.bocloud.cmp.model.SwitchModel;
import com.bocloud.common.model.BsmResult;

/**
 * 网络操作接口
 * 
 * @author weiwei
 *
 */
public interface NetworkDriver extends Driver {

	public BsmResult list();

	public BsmResult create(NetworkModel model);

	public BsmResult remove(String networkId);

	public BsmResult detail(String networkId);

	public BsmResult modify(NetworkModel model);

	/**
	 * 创建分布式交换机
	 * 
	 * @param switchModel
	 * @return
	 */
	public BsmResult createDSwitch(SwitchModel switchModel);

	/**
	 * 创建标准交换机
	 * 
	 * @param switchModel
	 * @return
	 */
	public BsmResult createVSwitch(SwitchModel switchModel);

}
